
//
//  LXDAllCollectionReusableView.m
//  BLDMusics
//
//  Created by lxd on 16/3/22.
//  Copyright © 2016年 李晓丹. All rights reserved.
//

#import "LXDAllCollectionReusableView.h"

@interface LXDAllCollectionReusableView ()

@property (nonatomic, retain) UILabel *titleLabel;

@end


@implementation LXDAllCollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        self.titleLabel = [[UILabel alloc] initWithFrame:self.bounds];
//        _titleLabel.textColor = [UIColor purpleColor];
        
        [self addSubview:_titleLabel];

    }
    return self;
}

- (void)setModel:(LXDAllSongModel *)model {
    _model = model;
    _titleLabel.text = model.tag;
    _titleLabel.textAlignment = NSTextAlignmentCenter;
}

@end
